package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallSmsCodeDao;
import com.appkubes.mall.core.entity.MallSmsCode;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallSmsCodeService extends AbstractBaseService<BaseMallSmsCodeDao, MallSmsCode> {

    MallSmsCode getOneByEntity(MallSmsCode entity);

    List<MallSmsCode> selectListByEntity(MallSmsCode entity);

    IPage<MallSmsCode> selectPageByEntity(IPage<MallSmsCode> page);
    IPage<MallSmsCode> selectPageByEntity(PageVO pageVO);

    IPage<MallSmsCode> selectPageByEntity(MallSmsCode entity, IPage<MallSmsCode> page);
    IPage<MallSmsCode> selectPageByEntity(MallSmsCode entity, PageVO pageVO);

    IPage<MallSmsCode> selectPageByEntity(MallSmsCode entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallSmsCode entity);
}
